package routers

import (
	beego "github.com/beego/beego/v2/server/web"
	"user2/controllers"
)

func init() {
	beego.Router("/", &controllers.MainController{})
	beego.Router("/create", &controllers.User2Controller{}, "post:Create")
	beego.Router("/createlogin", &controllers.User2Controller{}, "post:CreateLogin")
}
